Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add indexes to assets and relations tables #24

Merged
merged 5 commits into from
Aug 17, 2023

Conversation

rynmrtn
Copy link
Collaborator

@rynmrtn rynmrtn commented Aug 5, 2023

  • Index on $.content.Name for FQDN assets
  • index on assets.type
  • index on assets.last_seen, assets.created_at
  • index on relations.last_seen, relations.created_at

@rynmrtn rynmrtn changed the title Feat/indexes feat: add indexes to assets and relations tables Aug 5, 2023
Copy link
Contributor

@caffix caffix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work!

- Index on `$.content.Name` for FQDN assets
- index on assets.type
- index on assets.last_seen
- index on relations.last_seen

Closes owasp-amass#19
includes important details related to postgres
actions were temporarily changed to v2 in an attempt
to run github actions locally with nektos/act.

Found it was better to run it on my fork of the repo
@rynmrtn rynmrtn merged commit 081a1d0 into owasp-amass:develop Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants